package vis.core.common.mybatis;

import vis.core.common.util.IdKit;
import com.mybatisflex.core.keygen.IKeyGenerator;

public class KeyGenSnowflake implements IKeyGenerator {

    @Override
    public Object generate(Object entity, String keyColumn) {
        return IdKit.getId();
    }
}